package com.tansuo365.test1.mapper.othermapper;

import com.tansuo365.test1.bean.otherbean.HuiShouZhixing;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface HuiShouZhixingMapper {

    int deleteByPrimaryKey(Integer id);

    int insertSelective(HuiShouZhixing huiShouZhixing);

    HuiShouZhixing selectByPrimaryKey(Integer id);

    List<HuiShouZhixing> listHuiShouZhixingSelective(HuiShouZhixing huiShouZhixing);

    HuiShouZhixing listHuishouZhixingByDanhaoAndMingcheng(String zhixingdanhao,String mingchengguige);

    HuiShouZhixing getHuishouZhixingByCkdhAndName(String duiyingchukudanhao,String mingchengguige);

    int updateByPrimaryKeySelective(HuiShouZhixing huiShouZhixing);

    int updateZhixingChangeHuishouWeiHuishouAndZhuangtai(HuiShouZhixing huiShouZhixing);

    int updateZhixingChangeHuishouWeiHuishouAndZhuangtaiOnDelete(HuiShouZhixing huiShouZhixing);

    int updateZhixingChangeTuikuWeihuishouAndZhuangtaiOnDelete(HuiShouZhixing huiShouZhixing);

    int deleteByIdArr(Integer[] ids);

    List<HuiShouZhixing> getHuishouZhixingByZongIds(Integer[] ids);

    int deleteByDuiyingChukudans(List<String> duiyingchukudanhaos);

}